| PersonEmailAddress |
| EntityType | Independent |
| Logical Entity Name | PersonEmailAddress |
| Default Table Name | SyPersonEmail |
| Logical Only | NO |
| Definition | |
| Note |
| PersonEmailAddress Attributes |
| Attribute/Logical Rolename | Domain | Datatype | NULL | Definition |
Id |
INTEGER | NO | ||
PersonId |
INTEGER | NO | ||
| EmailTypeId | INTEGER | YES | ||
| CVueSourceTypeIdentifier | INTEGER | YES | 1 - Email; 2 - Other; 3 - ReplyTo; 4 - SyAddress |
|
| EmailAddress | NVARCHAR(60) | NO | ||
| IsPrimary | BIT | NO | ||
| IsActive | BIT | NO | ||
| LastModifiedUserId | INTEGER | NO | ||
| CreatedDateTime | DATETIME | NO | ||
| LastModifiedDateTime | DATETIME | NO | ||
| RowVersion | TIMESTAMP/DATE | NO |
| PersonEmailAddress Keys |
| Key Name | Key Type | Keys |
| Nk_SyPersonEmail_SyPersonId_CVueSourceTypeId | Inversion Entry | PersonId, CVueSourceTypeIdentifier |
| PK_SyPersonEmail | PrimaryKey | Id |
| PersonEmailAddress Relationships |
| Parent Relationships: |
| Entity Name | Type | Cardinality | Business Name | VerbPhrase | InversePhrase | Foreign Keys | Is Supertype |
| Person | Non-Identifying | One To Zero or More | PersonId | NO |
| Child Relationships: |
| Entity Name | Type | Cardinality | Business Name | VerbPhrase | InversePhrase | Foreign Keys | Is Subtype |
| PersonEmailAddress Check Constraints |
| Check Constraint Name | CheckConstraint |